#!/bin/sh

# BRANCH_NAME=$(git symbolic-ref --short HEAD)
# ISSUE=$(echo "$BRANCH_NAME" | grep -oE '[0-9]+')
# MSG_FILE=$1

# if [ -n "$ISSUE" ] && ! grep -q "\[#${ISSUE}\]" "$MSG_FILE"; then
#   sed -i.bak "1s/^/[#${ISSUE}] /" "$MSG_FILE"
#   rm -f "${MSG_FILE}.bak"
# fi
